import request from '@/utils/request'

// 查询会员列表
export function getSearchList(query) {
    return request({
        url: '/com.mmk.member.api.AdminUserProvider/1.0.0/getList.html',
        method: 'post',
        data: query
    })
}

// 修改状态
export function updateStatus(query) {
    return request({
        url: '/com.mmk.member.api.AdminUserProvider/1.0.0/updateStatus.html',
        method: 'post',
        data: query
    })
}

//修改用户账户状态（正常-冻结）
export function changeAccountStatus(query) {
    return request({
        url: '/com.mmk.member.api.AdminUserProvider/1.0.0/changeAccountStatus.html',
        method: 'post',
        data: query
    })
}

//修改用户积分状态（正常-冻结）
export function changeIntegralStatus(query) {
    return request({
        url: '/com.mmk.member.api.AdminUserProvider/1.0.0/changeIntegralStatus.html',
        method: 'post',
        data: query
    })
}
//会员管理-更换手机号
export function replacePhone(query) {
    return request({
        url: '/com.mmk.member.api.AdminUserProvider/1.0.0/replacePhone.html',
        method: 'post',
        data: query
    })
}